import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import 'vant/lib/index.css';

Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


Vue.mixin({
  beforeRouteLeave(to, from, next) {
    this.$store.state.isShow = true
    next()
  }
})

